import { useState } from "react";
import ceshiContext from "../utils";
import Child from "./child";

const Home = () => {
  const [value, setValue] = useState("");
  return (
    <>
      <div>React home page</div>
      <ceshiContext.Provider
        value={{
          name: "zhagndn",
          age: 24,
          value,
          setValue,
        }}
      >
        <Child></Child>
      </ceshiContext.Provider>
    </>
  );
};

export default Home;
